﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace PhoneStore.Presentation
{
    /// <summary>
    /// Interaction logic for ViewScreen.xaml
    /// </summary>
    public partial class ViewScreen : WindowBase
    {
        public ViewScreen()
        {
            this.Closing += new System.ComponentModel.CancelEventHandler(ViewScreen_Closing);
            InitializeComponent();
            ucPhoneList.SetUpScreenMode(ScreenMode.Show);
            ucAccessoryList.SetUpScreenMode(ScreenMode.Show);
        }

        void ViewScreen_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            Welcome w = new Welcome();
            w.Show();
        }
    }
}
